package main

import (
	"fmt"
	"io/ioutil"
)

func main() {
	filePath1 := "./1.txt"
	filePath2 := "./2.txt"
	content,err := ioutil.ReadFile(filePath1)
	fmt.Printf("%T \n",content)
	fmt.Println(string(content))
	if err != nil{
		fmt.Println(err)
	}
	err = ioutil.WriteFile(filePath2,content,0666)
	if err != nil {
		fmt.Println(err)
	}
}
